<template>
<page>
  <head :title="titlt"></head>
  <web
    style="flex:1"
    :source="'<html><meta name=\'viewport\' content=\'width=device-width, initial-scale=1, user-scalable=no\'><style>img,table{width:100%}</style>'+
    content 
    +'</html>'
    "
  />
</page>
</template>

<script>
export default {
  data() {
    return {
      content: "",
      titlt: ""
    };
  },
  created() {
    let that = this;
    var pref = weex.requireModule("storage");
    pref.getItem("goodsDestr", event => {
      if (event.result == "success") {
        that.content = event.data;
      }
    });
  },
  methods:{
    onLoad(parmars){
      if(parmars&&parmars.title){
        this.title=parmars.title
      }
    }
  }
};
</script>

<style>
</style>